package com.cungmua.app.model.response;

import com.cungmua.app.model.DealDetails;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 6/23/14.
 */
public class DealDetailsResponse extends CungMuaResponse {
    DealDetails dealDetails;

    public DealDetailsResponse(@JsonProperty("Msg") String message, @JsonProperty("Code") int code) {
        super(message, code);
    }

    @JsonProperty("Data")
    public void setDealDetails(DealDetails dealDetails) {
        this.dealDetails = dealDetails;
    }

    @Override
    public DealDetails getData() {
        return dealDetails;
    }
}
